package com.example.unisys.common;


public class UnisysConstant {
    // user缓存前缀
    public static final String USER_CACHE_PREFIX = "unisys.cache.user.";
    // user角色缓存前缀
    public static final String USER_ROLE_CACHE_PREFIX = "unisys.cache.user.role.";
    // user权限缓存前缀
    public static final String USER_PERMISSION_CACHE_PREFIX = "unisys.cache.user.permission.";
    // user个性化配置前缀
    public static final String USER_CONFIG_CACHE_PREFIX = "unisys.cache.user.config.";
    // token缓存前缀
    public static final String TOKEN_CACHE_PREFIX = "unisys.cache.token.";
    // 存储在线用户的 zset前缀
    public static final String ACTIVE_USERS_ZSET_PREFIX = "unisys.user.active";



    // student缓存前缀
    public static final String STUDENT_CACHE_PREFIX = "unisys.cache.student.";

    // student课程进度缓存
    public static final String STUDENT_RECENT_COURSE_CACHE_PREFIX = "unisys.cache.student.recent_course.";

    // 存储在线学生用户的 zset前缀
    public static final String ACTIVE_STUDENTS_ZSET_PREFIX = "unisys.student.active.";



    // 排序规则： descend 降序
    public static final String ORDER_DESC = "descend";
    // 排序规则： ascend 升序
    public static final String ORDER_ASC = "ascend";

    // 按钮
    public static final String TYPE_BUTTON = "1";
    // 菜单
    public static final String TYPE_MENU = "0";
}
